#define rightPlug()
<style>
    .cbbfixed {
        position: fixed;
        right: 16px;
        transition: bottom ease .3s;
        z-index: 100;
        cursor: pointer;
    }

    .cbbfixed .cbbtn {
        width: 40px;
        height: 40px;
        display: block;
        background-color: #02a2aa;
    }

    .cbbfixed .gotop {
        transition: background-color ease .3s;
        margin-top: 1px;
    }

    .cbbfixed .gotop .up-icon {
        float: left;
        margin: 14px 0 0 9px;
        width: 23px;
        height: 12px;
        background: url(/img/rightPlug/side-icon02.png);
    }

    .cbbfixed .gotop:hover {
        background-color: #2c2d2e;
    }

    .cbbfixed .cweixin {
        background: #dadbdd;
    }

    .cbbfixed .cweixin div {
        background: url(/img/rightPlug/qrcode.png);
        width: 200px;
        height: 200px;
        position: absolute;
        left: -194px;
        top: -115px;
        opacity: 0;
        transform: scale(0);
        -webkit-transform: scale(0);
        transform-origin: 100% 70%;
        -webkit-transform-origin: 100% 70%;
        transition: transform ease .3s, opacity ease .3s;
        -webkit-transition: all ease .3s;
        display: none \0;
        *display: none;
    }

    .cbbfixed .cweixin:hover div {
        display: block;
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 1;
        *display: block;
    }

    .cbbfixed .cweixin .weixin-icon {
        float: left;
        margin: 12px 0 0 11px;
        width: 18px;
        height: 18px;
        background: url(/img/rightPlug/side-icon01.png);
    }


</style>


<div style="text-align:center;margin:0; font:normal 14px/24px 'MicroSoft YaHei';"></div>

<script>
    //javascript Document
    function chinaz() {
        this.init();
    }

    chinaz.prototype = {
        constructor: chinaz,
        init: function () {
            this._initBackTop();
        },
        _initBackTop: function () {
            var $backTop = this.$backTop = $('<div class="cbbfixed">' +
                '<a class="cweixin cbbtn"">' +
                '<span class="weixin-icon"></span><div></div>' +
                '</a>' +
                '<a id="toTopA" class="gotop cbbtn">' +
                '<span class="up-icon"></span>' +
                '</a>' +
                '</div>');
            $('body').append($backTop);

            $("#toTopA").click(function () {
                $("html, body").animate({
                    scrollTop: 0
                }, 120);
            });

            var timmer = null;
            $(window).bind("scroll", function () {
                var d = $(document).scrollTop(),
                    e = $(window).height();
                0 < d ? $backTop.css("bottom", "30px") : $backTop.css("bottom", "30px");
                clearTimeout(timmer);
                timmer = setTimeout(function () {
                    clearTimeout(timmer)
                }, 100);
            });
        }

    }
    var chinaz = new chinaz();
</script>
#end